package com.ls.lserp.dbaccess.Dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.dbaccess.Entity.BarCodeEntity;
import com.ls.lserp.dbaccess.Entity.BarCodeEntityWithBLOBs;

@MyBatisDao
public interface BarCodeEntityMapper extends CrudDao<BarCodeEntity> {
	int deleteByPrimaryKey(Long qrId);

	int insert(BarCodeEntityWithBLOBs record);

	int insertSelective(BarCodeEntityWithBLOBs record);

	BarCodeEntityWithBLOBs selectByPrimaryKey(Long qrId);

	int updateByPrimaryKeySelective(BarCodeEntityWithBLOBs record);

	int updateByPrimaryKeyWithBLOBs(BarCodeEntityWithBLOBs record);

	int updateByPrimaryKey(BarCodeEntity record);

	List<BarCodeEntity> findListByBarCode(String barCode);

	int insertList(List<BarCodeEntity> list);
}